home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Room
/
The Games Room.iso
/
amiga
/
tetris&blocks
/
yactris
/
src
/
dmakefile
< prev
next >
Wrap
Makefile
|
1994-01-01
|
846b
|
39 lines
# DMakeFile for Tetris.c
AOUT = /YacTris
DOUT = /YacTrisD
SRCS = yactris.c intuitet.c makepieces.c about.c makestructs.c
OBJS = $(SRCS:"*.c":"t:*.o")
DOBJS = $(SRCS:"*.c":"t:*d.o")
PROTOS = prog_protos.h
HDRS = yactris.h
LIBS = c.lib amiga20.lib autos.lib
DBUG = dbug/dbug.c
DBUGOBJ = t:dbug.o
DCCFLAGS = -c -2.0 -proto -no-env -//
DBUGFLAGS = -c -2.0 -no-env
all: $(PROTOS) $(DOUT)
dbug_off: $(PROTOS) $(AOUT)
$(PROTOS) : $(SRCS)
makeproto -o $(PROTOS) $(SRCS)
$(DOUT) : $(DOBJS) $(DBUGOBJ)
dlink dlib:c.o %(right) $(LIBS) dlib:x.o -Ps -o %(left)
$(AOUT) : $(OBJS)
dlink dlib:c.o %(right) $(LIBS) dlib:x.o -Ps -o %(left)
$(DOBJS) : $(SRCS) $(HDRS)
dcc %(*.c) $(DCCFLAGS) -o %(left)
$(OBJS) : $(SRCS) $(HDRS)
dcc %(*.c) $(DCCFLAGS) -D DBUG_OFF -o %(left)
$(DBUGOBJ) : $(DBUG)
dcc %(*.c) $(DBUGFLAGS) -o %(left)